package com.moon;

import org.springframework.context.annotation.Configuration;

public class AliPayConfig {

    private static String neturl ="http://8w5k8x.natappfree.cc";

    // 应用ID,APPID，收款账号既是APPID对应支付宝账号
    public static String app_id = "2021000122656380";

    // 商户私钥，PKCS8格式RSA2私钥  刚刚生成的私钥直接复制填写
    public static String merchant_private_key ="MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQClDUy5NdzmjshBKcPf7RdFz++i/HMO+RmgPw3T7qvxeyFbt55tyLrZ8RDrkBow9wKfeuBM4THq5Or6sjXvWWmX0cvPI9GAiczQH3XPG870m8tJ7Y/biiRGMNqs+WKUSxMd73HmTdpCeJMRcVBPCQaT3/kEh0AW+gpxPVd7N5yCmE5b2JSTAt2E5cCw5aD/tpu+Za6Nf41jwql5Eg6KIkdprNuw45yluBFoCa6b7iwI59fV1Ge2xwRi6HSDRHZ5y/sDJNZTinkzfBKzmz9B9n+KaPfTacIc6VNF2+T6OJfv8rV1/2/HEljVVsPh0lWC6Nl0knfxaUutIERNdD71zLW/AgMBAAECggEAOdn2iXh6rAlh4Y09DbDxllOy4ALyZU4kkElplF40wFhzMc2jZ0GTVK6tSpPgykbaEYIlOm04bOe+AQ8T3ogNfdxYPouEdDRYqJ5OUcCigpRU5d2xrba2zi9zhmuHBQlncvepiZrCJMhUbCm2h21Xc99uTgsGCMetf1GL5zFv10nwD4mtQj3fyMDH8AzioVAVvy4CYbqd3qp5T8s9J5b71I+6r4pFTOp7KmTqZLr9oza1AMH2OaMMbLgw5i5R6pWy4co4rhKS4e5/x3yovdWK6aXZo4Mv6wjhNEexkfmTjcI+lBMPrvAZpi2mi8oJfuS6vhbDPZUi6vSdHU26xUZeGQKBgQDn5Ld7hDF8TdB72HqyG9gxBhcNvSwr7A0QM8HS2sCuxioHGM0Y3itbpcUJJOqRyTjBAoGirl8g8yJM/c3qCH46u0LsQ5gpFp0QrF8o6fg16J0YEmEI68y1+hMlERSsxqmMvhaMq8jIZecgc3J/OYgQsUlk04QN373LCVV1fUOvhQKBgQC2NcI3SzVYctg76M1U1nFg6OwPYZJijn761nbWlY7TuIBDs52FVm9/192BqV8pWlOaBjtSZNuAKgOK3st6ynENN4Vun2gcVHHF2/09sH0PGVtpbdH0YLNz0IFIH0/gsV+T+Clk5THGe6LOSbaxqqfhA+gdLSjCoeSYj4xCKmN5cwKBgQCorVbF0s+IIrYPD9WX7ucgKdTlGoCh5k9ORMetD4/u0ZhKl0DA4QJa5MbhMugpaVwOETuo0PvDZPfDVy7MGKdxIzu3zidFY/yV3zxM73usAusaUmwg6Bx9Fk2MvdLzJoK4LKEMa/xdwLoRgch8QKX3tm2zmKPKz8Aniz+NebOdXQKBgQCUOKcE0+lRShscoQRnPwp8Cv38hSLPiZtB8bQ6Wu8Uy8GLUVGSZf3NwYwvLdh7iz72zJr1K5Zja8n17ccY3BWa6s9gbcwDP65Nhec7h5Yz8iyqVuu0H/XbAIIqaU5ROfjGJdmGeetDys9lgBFd9bUbFlJ7aYD+0zNh52Pxbwn8gQKBgQDSEGwDfija1cSi1BkFFaKFVflMHe5WqD3hBEBQQsVuh6+hU/mcNc56IJqXtjz8wygtM/Txv8tVit144GXTrH4FSbFHN85Bj6GilGzZ46s+5su/sDDBOBQKd4UR7GNOOFbIOQLN/PRK1jPq6mwyI8bNcF1s9Cmr1bsTlwe3zrSJhg==";

    // 支付宝公钥,对应APPID下的支付宝公钥，别填成商户公钥
    public static String alipay_public_key ="MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAhbEEB6I0KGmRjqOcUD9MsCuJEqdTJrzx7O19vwdQTl2/TCwpLSGxcgdkPeYrFopmgTivZjJNmSAUSvBu9AhShYx0myelGjNK6yMtkUzAdOHvNz3Y7szbCacY4AC4j0umou7oT+p31N+tkBLPQ/XwsWu4r+ZrXjcrBcRdoJezq13JYscOLNHd5u+RA0ykcBj4INYKEYKrG5iE+mdaqJDBmkc/bz//caWIkXq8Vl6djgNep5Cos3l5lZkpHy42eeqZHs4geVTCuEUic2U8zGS1oOH2MMgifjVzJpCRMLDw1XtrbwNiIEchaAUOEyRBOKRfnfsI5B37DGjkoxfE2AWMDQIDAQAB";

    // 服务器异步通知页面路径  需http://格式的完整路径，其实就是支付完成后返回的页面URL
    public static String notify_url = neturl+ "/payment/notify";


    // 页面跳转同步通知页面路径 需http://格式的完整路径，其实就是你的一个支付完成后返回的页面URL
    public static String return_url = neturl + "/";
    // 签名方式
    public static String sign_type = "RSA2";
    // 字符编码格式
    public static String charset = "utf-8";
    // 支付宝网关
    public static String gatewayUrl = "https://openapi-sandbox.dl.alipaydev.com/gateway.do";

}
